import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)

const store = new Vuex.Store({
    state: {
		domain: 'https://www.anbanxy.com',
        isLogin: false,
		sessionId: '',
    },
    mutations: {
        alreadyLogin(state) {
            state.isLogin = true
        },
		setSessionId(state, id) {
			state.sessionId = id
		},
    }
})
export default store